package com.elec.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elec.domain.R;
import com.elec.domain.entity.NotificationRecord;

/**
 * 记录系统向用户发送的所有通知(NotificationRecord)表服务接口
 *
 * @author yu
 * @since 2024-07-05 13:42:59
 */
public interface NotificationRecordService extends IService<NotificationRecord> {

    R add(NotificationRecord notificationRecord);

    R delete(Long id);

    R update(NotificationRecord notificationRecord);

    R get(Long id);

    R getList(Integer pageNum, Integer pageSize, NotificationRecord notificationRecord);

    R getNotification();

    R getMyNotification();

    R readNotification(Long id);
}


